package com.yc.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yc.bean.DinnerTableBean;
import com.yc.mapper.TableMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zwei
 * @create 2024-09-27 15:34
 */
@Service
public class TableBizImpl implements TableBiz{
    @Autowired
    private TableMapper tableMapper;
    @Override
    public List<DinnerTableBean> findAllTable() {
        List<DinnerTableBean>list=tableMapper.selectList(null);
        return list;
    }
}
